/**
 * <p>Copyright (c) 2011 深圳市鹏途信息技术有限公司 </p>
 * <p>				   All right reserved. 		     </p>
 * 
 * <p>项目名称 ： 	东莞交通工程质量监督综合业务系统        </p>
 * <p>创建者   :	liuyang 
 * 
 * <p>描   述  :   CheckPetition.java for com.pengtu.entity.business.recheck    </p>
 * 
 * <p>最后修改 : $: 2011-10-10-下午3:44:56 v 1.0.0	 liuyang   $     </p>
 * 
*/

package com.pengtu.entity.business.marine.check;

import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.pengtu.entity.business.BasicPetition;

/**
 * 
 * CheckPetition
 * 
 * 2011-10-10 下午3:44:56
 * 
 * @version 1.0.0
 * 
 */
@Entity
@Table(name = "T_Q_CASE_MARINE_CHECK")
public class MarineCheck extends BasicPetition {

	/**
	 * serialVersionUID:TODO
	 *
	 * @since 1.0.0
	 */
	
	private static final long serialVersionUID = 1L;
	
	private FlowMarineCheck flowMarineCheck;//流程ID
	private Date acceptanceDate;//交工验收时间
	
	/**
	 * flowMarineCheck
	 *
	 * @return  the flowMarineCheck
	 * @since   1.0.0
	 */
	@ManyToOne(cascade = CascadeType.REFRESH, fetch = FetchType.LAZY)
	@JoinColumn(name = "FID")
	public FlowMarineCheck getFlowMarineCheck() {
		return flowMarineCheck;
	}
	/**
	 * @param flowMarineCheck the flowMarineCheck to set
	 */
	public void setFlowMarineCheck(FlowMarineCheck flowMarineCheck) {
		this.flowMarineCheck = flowMarineCheck;
	}
	/**
	 * acceptanceDate
	 *
	 * @return  the acceptanceDate
	 * @since   1.0.0
	 */
	@Column(name="ACCEPTANCEDATE")
	public Date getAcceptanceDate() {
		return acceptanceDate;
	}
	/**
	 * @param acceptanceDate the acceptanceDate to set
	 */
	public void setAcceptanceDate(Date acceptanceDate) {
		this.acceptanceDate = acceptanceDate;
	}

}
